<?php use_helper('text', 'JQuery')?>
<div id="wrapper">
  <div id="banner"><img src="/css/images/index_banner.jpg" alt="banner" /></div>
  <div class="Work_Information_1">
    <div class="Work_Info_title_bac_1">
      <ul>
        <li><?php echo jq_link_to_remote('工作动态', array('update'=>'ajaxzone','url'=>'ajax_news'))?></li>
        <li><?php echo jq_link_to_remote('营养学堂', array('update'=>'ajaxzone','url'=>'ajax_schools'))?></li>
      </ul>
    </div>     
    <div class="Work_Info_content_1" id="ajaxzone"> 
        <?php foreach ($news as $topic):?>
          <?php echo link_to(truncate_text($topic->getTitle(), 30),'news_show',$topic)?><br/>
        <?php endforeach;?>
          <a class="more" href="<?php echo url_for('news_index')?>">MORE>></a>  
    </div>
  </div>
  <!--End Work_Information_1-->
  <div class="Work_Information_2">
    <div class="Work_Info_title_bac_2"><b>学会介绍</b><?php echo link_to('MORE>>','static_introduction')?></div>
    <div class="Work_Info_content_2">
      <img src="/css/images/introduce-img.jpg" alt="" />
      <?php echo truncate_text(strip_tags(htmlspecialchars_decode($intro->getContent())),125)?></div>
  </div>
  <!--End Work_Information_2-->      
  <div class="Work_Information_3">
    <div class="Work_Info_title_bac_3"><b>政策法规</b><a href="#">MORE>></a></div>
    <div class="Work_Info_content_3">
      <img src="/css/images/rule-img.jpg" alt="" /> 
      <?php foreach ($policies as $topic):?>
        <?php echo link_to(truncate_text($topic->getTitle(), 12),'policy_show',$topic)?>
      <?php endforeach;?>     
    </div>
  </div>
  <!--End Work_Information_3-->
  <?php echo include_component('home', 'links')?>
</div>
<!--End Wrapper-->

